package com.spring.demo.springdemo.annotation.conditional.config;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;

import javax.annotation.PostConstruct;

/**
 * @Author RenPu
 * @Date 2022/4/8 9:53
 * @Version 1.0
 * @Description:
 **/

@Data
@Slf4j
public class RenpuLog {

    private String logId;

    private String logContent;

    private String logType;

    private String logTime;

    private String logIp;

    private String logUrl;

    private String logStatus;

    private String logUser;

    static {
        log.info("RenpuLog ====== static  method  invoked  ==========");
    }

    public RenpuLog() {
        log.info("RenpuLog ====== constructor  method  invoked  ==========");

    }

    @PostConstruct
    public void initMethond(){
        log.info("RenpuLog ====== initMethond  method  invoked  ==========");

    }



}
